<template>
  <XTable :tableList="tableList" :tableData="tableData"/>
</template>

<script>
import { XTable } from '@/components/@fhsy/x-tool'
export default {
  components: {
    XTable
  },
  data () {
    return {
      tableList: [
        { field: 'selection', width: 55, align: 'center' },
        { label: '序号', field: 'XNumber', width: 200, align: 'center' },
        { label: '日期', field: 'date', width: 200 },
        { label: '姓名', field: 'name' },
        { label: '地址', field: 'address' }
      ],
      tableData: [
        { date: '2020-05-02', name: '白羊', address: '上海市杨浦区政立路 477 号' },
        { date: '2020-06-04', name: '白羊', address: '上海市杨浦区政立路 477 号' },
        { date: '2020-07-01', name: '白羊', address: '上海市杨浦区政立路 477 号' },
        { date: '2020-08-03', name: '白羊', address: '上海市杨浦区政立路 477 号' }
      ]
    }
  }
}
</script>
